package com.zbiti.module.system.base.api.mda.domain;

import com.zbiti.framework.mda.common.annotation.MdaRequest;
import com.zbiti.framework.mda.common.annotation.MdaColumn;
import com.zbiti.framework.mda.common.annotation.MdaForeignKey;
import com.zbiti.framework.mda.common.annotation.MdaKey;
import com.zbiti.framework.mda.common.annotation.MdaTable;
import com.zbiti.framework.mda.common.domain.MdaDomain;
import com.zbiti.sdk.common.enums.IdType;
import com.zbiti.sdk.common.annotation.Excel;
import com.zbiti.sdk.common.annotation.TableId;


/**
 * book_category2
 *
 * @author generator
 * @date 2025-04-08 12:17:44
 */
@MdaRequest(path = "/system/book_category2")
@MdaTable(name = "book_category2", desc = "book_category2")
public class BookCategory2MdaDomain extends MdaDomain {

    /**
     * id
     */
    @MdaKey(type = IdType.AUTO)
    @MdaColumn(name = "id", desc = "id", isNull = false)
    @TableId
    @Excel(name = "id")
    private Long id;

    /**
     * 分类名
     */
    @MdaColumn(name = "category_name", desc = "分类名")
    @Excel(name = "分类名")
    private String categoryName;


    /**
     * 获取id
     *
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取分类名
     *
     * @return 分类名
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * 设置分类名
     *
     * @param categoryName 分类名
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
